home *** CD-ROM | disk | FTP | other *** search
/ Gekkan Dennou Club 140 / Gekkan Dennou Club - 2000.1 Vol. 140 (Japan).7z / Gekkan Dennou Club - 2000.1 Vol. 140 (Japan) (Track 1).bin / games / km21 / src / stepman.c < prev    next >
C/C++ Source or Header  |  1999-12-05  |  1KB  |  69 lines

  1. /*
  2.     stepman
  3. */
  4.  
  5. //-------------------------------------------------------------------StepMan()
  6.  
  7.  
  8. #include    "STRUCTS.INC"
  9. #include    "MAINSYS.INC"
  10. #include    "SPCTBL.INC"
  11. #include    "stepman.inc"
  12.  
  13. extern    int    StepMan__title000_init();
  14. extern    int    StepMan__stage000_init();
  15. extern    int    StepMan__demo000_init();
  16. extern    int    StepMan__gameover_init();
  17.  
  18. //ちょっとstepmanの使い方がまずい
  19. int    StepMan()
  20. {
  21.     switch( gameStep ){
  22.         case STEP_INIT_ALL:
  23.             scoreHI=5963;
  24. //            gameStep=STEP_TITLE_INIT;
  25.             gameStep=STEP_STAGE_INIT;
  26.         break;
  27.  
  28.         case STEP_PLAYDEMO_INIT:
  29.             StepMan__demo000_init();
  30.             gameStep=STEP_PLAYDEMO;
  31.         break;
  32.  
  33.         case STEP_TITLE_INIT:
  34.             StepMan__title000_init();
  35.             gameStep=STEP_TITLE;
  36.         break;
  37.  
  38.         case STEP_STAGE_INIT:
  39.             StepMan__stage000_init();
  40.             gameStep=STEP_STAGE;
  41.         break;
  42.  
  43.         case STEP_ENDING_INIT:
  44.             gameStep=STEP_EXIT;
  45.         break;
  46.  
  47.         case STEP_GAMEOVER_INIT:
  48.             StepMan__gameover_init();
  49.             gameStep=STEP_GAMEOVER;
  50.         break;
  51.  
  52.         case STEP_EXIT:
  53.             exit(0);
  54.         break;
  55.         default:
  56.             ;
  57.         break;
  58.     }
  59. }
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.